#include "mytest2.h"
#include <QDebug>

DUKGLUE_EXTERNAL_REGISTER(MyTest2)
{
    DUKGLUE_REGISTER_DERIVED_CLASS(ctx, MyTest2,MyTest,std::string);
    DUKGLUE_REGISTER_METHOD(ctx, MyTest2, print, "print");
}

MyTest2::MyTest2(std::string name)
    : MyTest(name)
{

}

MyTest2::~MyTest2()
{

}

void MyTest2::print(void)
{
    qDebug()<<mname.c_str();
}
